package com.ruoyi.patient.entity;

import com.ruoyi.service.domain.ServiceCombo;
import com.ruoyi.service.domain.ServiceItems;
import com.ruoyi.service.domain.ServiceMycart;

/**
 * 购物车信息返回体
 *
 * @author ZDL
 */
public class MyCartReturn extends ServiceMycart {

    //所选服务项目信息
    private ServiceItems item;
    //所选服务套餐信息
    private ServiceCombo combo;

    public ServiceItems getItem() {
        return item;
    }

    public void setItem(ServiceItems item) {
        this.item = item;
    }

    public ServiceCombo getCombo() {
        return combo;
    }

    public void setCombo(ServiceCombo combo) {
        this.combo = combo;
    }

    public MyCartReturn(ServiceMycart newMyCart)
    {
        this.setMycartId(newMyCart.getMycartId());
        this.setMycartUserid(newMyCart.getMycartUserid());
        this.setMycartItemid(newMyCart.getMycartItemid());
        this.setMycartNum(newMyCart.getMycartNum());

    }

    public MyCartReturn() {
    }
}
